import cookbookIcon from '@/assets/images/cookbook.png'
import cookbookActiveIcon from '@/assets/images/cookbook-active.png'
import categoryIcon from '@/assets/images/category.png'
import categoryActiveIcon from '@/assets/images/category-active.png'
import newsIcon from '@/assets/images/news.png'
import newsActiveIcon from '@/assets/images/news-active.png'
import centerIcon from '@/assets/images/center.png'
import centerActiveIcon from '@/assets/images/center-active.png'

import Cookbook from '../views/Home/pages/Cookbook'
import Category from '../views/Home/pages/Category'
import Center from '../views/Home/pages/Center'
export default [
    {
        title:'菜谱',
        key:'cookbook',
        icon:cookbookIcon,
        selectedIcon:cookbookActiveIcon,
        render:<Cookbook/>
    },
    {
        title:'分类',
        key:'category',
        icon:categoryIcon,
        selectedIcon:categoryActiveIcon,
        render:<Category/>
    },
    {
        title:'资讯',
        key:'news',
        icon:newsIcon,
        selectedIcon:newsActiveIcon,
        render:<div>资讯</div>
    },
    {
        title:'个人',
        key:'person',
        icon:centerIcon,
        selectedIcon:centerActiveIcon,
        render:<Center/>
    }

]